/**$Licence:
 *   Use this however/wherever you like, just don't blame me if it breaks anything.
 *   Copyright (C) 2008 - 2012 xingsheng.zhu@gmail.com All rights reserved.
 */
package com.blazemina.config;

import com.blazemina.command.CommandFactory;

/**
 * @author JackChu
 * @version 1.0.0 Jan 6, 2012 4:20:42 PM
 */
public class BlazeminaConfig extends BaseConfig{

	private ReuqestProcessorConfig reuqestProcessorConfig;
	
	private IoService ioService;
	private SocketOption socketOption;
	private Protocols protocols;

	/**
	 * @return the protocols
	 */
	public Protocols getProtocols() {
		return protocols;
	}

	/**
	 * @param protocols the protocols to set
	 */
	public void setProtocols(Protocols protocols) {
		this.protocols = protocols;
	}

	/**
	 * @return the socketOption
	 */
	public SocketOption getSocketOption() {
		return socketOption;
	}

	/**
	 * @param socketOption the socketOption to set
	 */
	public void setSocketOption(SocketOption socketOption) {
		this.socketOption = socketOption;
	}

	/**
	 * @return the ioService
	 */
	public IoService getIoService() {
		return ioService;
	}

	/**
	 * @param ioService the ioService to set
	 */
	public void setIoService(IoService ioService) {
		this.ioService = ioService;
	}

	/**
	 * reuqestProcessorConfig
	 *
	 * @return  the reuqestProcessorConfig
	 */
	
	public ReuqestProcessorConfig getReuqestProcessorConfig() {
		return reuqestProcessorConfig;
	}

	/**
	 * reuqestProcessorConfig
	 *
	 * @param   reuqestProcessorConfig    the reuqestProcessorConfig to set
	 */
	
	public void setReuqestProcessorConfig(ReuqestProcessorConfig reuqestProcessorConfig) {
		this.reuqestProcessorConfig = reuqestProcessorConfig;
	}

	private CommandFactory commandFactory;


	private String handler;

	public BlazeminaConfig() {
	}


	/**
	 * @param commandFactory
	 *            the commandFactory to set
	 */
	public CommandFactory getCommandFactory() {
		return commandFactory;
	}

	/**
	 * @return the handler
	 */
	public String getHandler() {
		return handler;
	}

	/**
	 * @param handler
	 *            the handler to set
	 */
	public void setHandler(String handler) {
		this.handler = handler;
	}

}
